﻿using AdAggregator.Advertisement;
using AdAggregator.Parser;
using AdAggregator.SearchData;

namespace AdAggregator.Website
{
    public interface IWebsite<in TSearchData, TAdvertisement> : IAdvertisementSource<TAdvertisement>
        where TSearchData : ISearchData
        where TAdvertisement : IAdvertisement
    {
        IParseResult<TAdvertisement> Process(TSearchData searchData);
    }
}